﻿using AutoMapper;
using HSGD.Model.Dtos.HSGD_Staff;
using HSGD.Model.Models.HSGD_Staff;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HSGD.Extensions.Profiles.HSGDStaff {
    public class HSGDStaffProfiles : Profile {
        public HSGDStaffProfiles() {
            CreateMap<Person, PersonDto>();
            CreateMap<PersonDto, Person>();

            CreateMap<PersonEducationInfoDto, PersonEducationInfo>();
            CreateMap<PersonEducationInfo, PersonEducationInfoDto>();

            CreateMap<RecPosApplicantEssayDto, RecPosApplicantEssayForm>();
            CreateMap<RecPosApplicantEssayForm, RecPosApplicantEssayDto>();
        }
    }
}
